#
#  Be sure to run `pod spec lint WeChatPay.podspec' to ensure this is a
#  valid spec and to remove all comments including this before submitting the spec.
#
#  To learn more about Podspec attributes see https://docs.cocoapods.org/specification.html
#  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

Pod::Spec.new do |spec|

  spec.name         = "WeChatPay"
  spec.version      = "0.0.1"
  spec.summary      = "A short description of WeChatPay."

  spec.description  = <<-DESC
  WechtSDK1.8.2
                   DESC

  spec.homepage     = "https://gitee.com/jiodg45"
  spec.license      = { :type => "BSD", :file => "LICENSE" }
  spec.author             = { "Guo Longxiang, (Longxiang.Guo@partner.bmw.com)" => "Longxiang.Guo@partner.bmw.com" }
  spec.platform     = :ios, "8.0"

  spec.source       = { :git => "https://gitee.com/jiodg45/WeChatPay.git", :tag => "#{spec.version}" }

  spec.source_files  = "Classes/*.{h,m}"

  spec.public_header_files = "Classes/*.h"
  
  spec.frameworks = "UIKit", "SystemConfiguration", "Foundation", "CoreTelephony", "Security", "CFNetwork"
 
  spec.libraries = "z", "sqlite3.0", "c++"
  
  spec.ios.vendored_libraries = "Library/libWeChatSDK.a"
  spec.static_framework = true

  spec.xcconfig = { "CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES" => "YES" }

  spec.requires_arc = true

end
